package com.meila.cms.services;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.http.ResponseEntity;
import org.springframework.ui.Model;

import com.meila.cms.entity.AjaxObj;
import com.meila.cms.model.CarDesignModel;
import com.meila.cms.util.page.Pager;

public interface ICarDesignService {

	Pager<CarDesignModel> listCarDesign(CarDesignModel carDesignModel);

	AjaxObj updateCarDesign1(CarDesignModel carDesignModel,HttpServletRequest request);

	AjaxObj updateCarDesign2(CarDesignModel carDesignModel,
			HttpServletRequest request);
	
	AjaxObj updateCarDesign3(CarDesignModel carDesignModel,
			HttpServletRequest request);
	
	void carDesignToModify(CarDesignModel carDesignMode, Model model);

	List getCarList(CarDesignModel carDesignMode);

 
	ResponseEntity<byte[]> downloadFileBychose(String designid, Integer[] chose,
			HttpServletRequest request, HttpServletResponse response);

	void carLogoModify(CarDesignModel carDesignModel, Model model);

	CarDesignModel carDesignByid(Integer designid);

	ResponseEntity<byte[]> exportPDF(String designid,
			HttpServletRequest request, HttpServletResponse response);

	AjaxObj delCarDesign(CarDesignModel carDesignModel);

	void addCarDesign(CarDesignModel carDesignModel, Model model);

	AjaxObj updateMemory(Integer[] fileids, Boolean isupdate);



}
